﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace exercice4
    {
    public class Vtt : Vehicule
        {
        public Vtt(String name)
            : base(name)
            {
            }

        public override double calculerPrix()
            {
            return this.m_nbJoursLoues * Vtt.CONST_TARIFPARJOUR;
            }

        public const double CONST_TARIFPARJOUR = 30;
        }
    }
